<?php foreach($list_notif as $notif): ?>
    <?php if($notif['Notification']['type'] == 1): ?>
    <div class="list_notif">
        <a href="<?php echo BASE_PATH; ?>/users/view/<?php echo $notif['Notification']['user_id'] ?>">
            <?php echo $notif['Notification']['user_name'] ?>
        </a> is now following you.
    </div><br/>
    <?php else: ?>
    <div class="list_notif">
        <a href="<?php echo BASE_PATH; ?>/photos/view/<?php echo $notif['Notification']['user_id'] ?>">
            <?php echo $notif['Notification']['user_name'] ?>
        </a> has tag you on one of his/her
        <a href="<?php echo BASE_PATH; ?>/photos/view/<?php echo $notif['Notification']['photo_id'] ?>">
            photo.
        </a>
    </div><br/>
    <?php endif ?>
<?php endforeach ?>
